package com.wenchao.Service.impl;

import com.wenchao.Mapper.UserMapper;
import com.wenchao.Service.UserLoginService;
import com.wenchao.Domin.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class UserLoginServiceImpl implements UserLoginService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User login(String username) {

        return userMapper.selectUserByUserName(username) ;
    }
}
